package com.cheyun.netsalev3.view.dm.detail

import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProviders
import com.cheyun.netsalev3.R
import com.cheyun.netsalev3.databinding.ActivityDmClueFollowBinding
import com.cheyun.netsalev3.utils.BaseActivity
import com.cheyun.netsalev3.utils.InjectorUtils
import com.cheyun.netsalev3.viewmodel.DmClueFollowActivityViewModel


class DmClueFollowActivity : BaseActivity<ActivityDmClueFollowBinding>() {
    override fun initContentView(): Int {
        return R.layout.activity_dm_clue_follow
    }

    override fun initViewModel(): ViewModel? {
        var clueId = intent.getStringExtra("clueId")
        var type = intent.getStringExtra("type")
        var status = intent.getStringExtra("status")
        var isArrive = intent.getStringExtra("isarrive")
        var factory = InjectorUtils.getDmClueFollowActivityFactory(clueId,type,status,isArrive)
        return ViewModelProviders.of(this, factory).get(DmClueFollowActivityViewModel::class.java)
    }

    override fun initView() {
    }

    override fun initData() {
    }


}
